<%@ page import="quanlythuvien.DocGia" %>



<div class="fieldcontain ${hasErrors(bean: docGiaInstance, field: 'email', 'error')} ">
	<label for="email">
		<g:message code="docGia.email.label" default="Email" />
		
	</label>
	<g:textField name="email" cols="40" rows="5" maxlength="255" value="${docGiaInstance?.email}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: docGiaInstance, field: 'hoTen', 'error')} ">
	<label for="hoTen">
		<g:message code="docGia.hoTen.label" default="Ho Ten" />
		
	</label>
	<g:textField name="hoTen" cols="40" rows="5" maxlength="255" value="${docGiaInstance?.hoTen}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: docGiaInstance, field: 'ngaySinh', 'error')} required">
	<label for="ngaySinh">
		<g:message code="docGia.ngaySinh.label" default="Ngay Sinh" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="ngaySinh" precision="day"  value="${docGiaInstance?.ngaySinh}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: docGiaInstance, field: 'diaChi', 'error')} ">
	<label for="diaChi">
		<g:message code="docGia.diaChi.label" default="Dia Chi" />
		
	</label>
	<g:textField name="diaChi" cols="40" rows="5" maxlength="255" value="${docGiaInstance?.diaChi}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: docGiaInstance, field: 'code', 'error')} required">
	<label for="code">
		<g:message code="docGia.code.label" default="Code" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="code" cols="40" rows="5" maxlength="255" required="" value="${docGiaInstance?.code}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: docGiaInstance, field: 'tinhTrang', 'error')} required">
	<label for="tinhTrang">
		<g:message code="docGia.tinhTrang.label" default="Tinh Trang" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="tinhTrang" required="" value="${docGiaInstance.tinhTrang}"/>
</div>

